package com.woniuxy.tmsdriverassignment.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:
 * <P> Date: 2022/4/20:17:42
 * <P> Description:
 */
@Data
public class Contract {
    //新建合同的id
    private int id;

    //运单号
    private int waybill_id;

    //操作员id
    private String operator_id;

    //运费
    private double money;

    //保险费
    private  double insurance;

    //里程
    private  double distance;

    //预计到达时间
    @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
    private Date estimated_arrival;

    //运输状态
    private int status;

    //司机id
    private int driver_id;

    //
//    private Date arrival_time;
//    //
//    private Date accept_time;
//    //
//    private Date received_time;
//    //
//    private String accept_address;
//    //
//    private String received_address;
//    //
    private int delete_status;
//
//    private int pageNum;
//
//    private int pageSize;
}
